
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Python · 日常学习笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-advanced-emoji/emoji-website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="BeautifulSoup.md" />
    
    
    <link rel="prev" href="../Linux/防火墙学习.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"Xiechengqi","repo":"LearningNotes","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../网络学习资源整理/">
            
                <a href="../网络学习资源整理/">
            
                    
                    网络学习资源整理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../网络学习资源整理/技术学习.html">
            
                <a href="../网络学习资源整理/技术学习.html">
            
                    
                    技术学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../网络学习资源整理/运维博客.html">
            
                <a href="../网络学习资源整理/运维博客.html">
            
                    
                    运维博客
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../网络学习资源整理/工具.html">
            
                <a href="../网络学习资源整理/工具.html">
            
                    
                    工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../网络学习资源整理/静态博客模板.html">
            
                <a href="../网络学习资源整理/静态博客模板.html">
            
                    
                    静态博客模板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../网络学习资源整理/静态网站pages服务.html">
            
                <a href="../网络学习资源整理/静态网站pages服务.html">
            
                    
                    静态网站pages服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../网络学习资源整理/静态pages的CI和CD.html">
            
                <a href="../网络学习资源整理/静态pages的CI和CD.html">
            
                    
                    静态pages的CI和CD
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="../网络学习资源整理/Hugo学习.html">
            
                <a href="../网络学习资源整理/Hugo学习.html">
            
                    
                    Hugo学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../心灵鸡汤/">
            
                <a href="../心灵鸡汤/">
            
                    
                    心灵鸡汤
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../心灵鸡汤/心灵鸡汤.html">
            
                <a href="../心灵鸡汤/心灵鸡汤.html">
            
                    
                    语录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../Linux/">
            
                <a href="../Linux/">
            
                    
                    Linux
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../Linux/Linux常用命令.html">
            
                <a href="../Linux/Linux常用命令.html">
            
                    
                    Linux常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../Linux/Linux小知识.html">
            
                <a href="../Linux/Linux小知识.html">
            
                    
                    平时 linux 遇到的问题解决办法和扩展小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../Linux/Linux性能相关常用命令.html">
            
                <a href="../Linux/Linux性能相关常用命令.html">
            
                    
                    Linux性能相关常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../Linux/Linux各种安装下载慢解决方法.html">
            
                <a href="../Linux/Linux各种安装下载慢解决方法.html">
            
                    
                    Linux各种安装下载慢解决方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../Linux/APT-剖析详解.html">
            
                <a href="../Linux/APT-剖析详解.html">
            
                    
                    APT 原理剖析、详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../Linux/Linux主机、虚拟机和docker网络配置.html">
            
                <a href="../Linux/Linux主机、虚拟机和docker网络配置.html">
            
                    
                    Linux 主机、虚拟机和docker网络配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../Linux/Linux文件系统学习.html">
            
                <a href="../Linux/Linux文件系统学习.html">
            
                    
                    Linux文件系统学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="../Linux/Linux用户和用户组管理.html">
            
                <a href="../Linux/Linux用户和用户组管理.html">
            
                    
                    Linux用户和用户组管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="../Linux/Linux用户增删改等学习.html">
            
                <a href="../Linux/Linux用户增删改等学习.html">
            
                    
                    Linux用户增删改等学习.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="../Linux/Linux程序存放目录.html">
            
                <a href="../Linux/Linux程序存放目录.html">
            
                    
                    Linux程序存放目录.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.11" data-path="../Linux/Linux编译安装软件包详解.html">
            
                <a href="../Linux/Linux编译安装软件包详解.html">
            
                    
                    Linux C/C++ 软件包编译、安装原理详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="../Linux/SSH详解.html">
            
                <a href="../Linux/SSH详解.html">
            
                    
                    SSH 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.13" data-path="../Linux/Tomcat和Ngnix和Apache.html">
            
                <a href="../Linux/Tomcat和Ngnix和Apache.html">
            
                    
                    Tomcat和Ngnix和Apache.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path="../Linux/UbuntuSoftwareInstall.html">
            
                <a href="../Linux/UbuntuSoftwareInstall.html">
            
                    
                    Ubuntu 软件包安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.15" data-path="../Linux/YAML-配置文件语言.html">
            
                <a href="../Linux/YAML-配置文件语言.html">
            
                    
                    YAML 配置文件语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.16" data-path="../Linux/bin目录详解.html">
            
                <a href="../Linux/bin目录详解.html">
            
                    
                    bin目录详解.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.17" data-path="../Linux/ffmpeg详解.html">
            
                <a href="../Linux/ffmpeg详解.html">
            
                    
                    ffmpeg学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.18" data-path="../Linux/trans命令.html">
            
                <a href="../Linux/trans命令.html">
            
                    
                    trans命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.19" data-path="../Linux/yum和rpm.html">
            
                <a href="../Linux/yum和rpm.html">
            
                    
                    Yum 和 RPM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.20" data-path="../Linux/从BashShell启动“窥探”Linux环境变量相关文件.html">
            
                <a href="../Linux/从BashShell启动“窥探”Linux环境变量相关文件.html">
            
                    
                    Linux环境变量详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.21" data-path="../Linux/新创建主机常用初始化配置.html">
            
                <a href="../Linux/新创建主机常用初始化配置.html">
            
                    
                    新建主机常用初始化配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.22" data-path="../Linux/正则表达式学习.html">
            
                <a href="../Linux/正则表达式学习.html">
            
                    
                    正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.23" data-path="../Linux/通过Linux开机启动项展开学习.html">
            
                <a href="../Linux/通过Linux开机启动项展开学习.html">
            
                    
                    Linux开机启动项学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.24" data-path="../Linux/防火墙学习.html">
            
                <a href="../Linux/防火墙学习.html">
            
                    
                    防火墙学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter active" data-level="1.5" data-path="./">
            
                <a href="./">
            
                    
                    Python
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="BeautifulSoup.md">
            
                <span>
            
                    
                    Python3 BeautifulSoup 学习记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="Django.html">
            
                <a href="Django.html">
            
                    
                    Python Django 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="IPython使用技巧.html">
            
                <a href="IPython使用技巧.html">
            
                    
                    IPython 使用技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="Numpy.html">
            
                <a href="Numpy.html">
            
                    
                    Python Numpy 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="Python小知识.html">
            
                <a href="Python小知识.html">
            
                    
                    Python 学习遇到的问题解决或扩展小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="Python模块管理总结.html">
            
                <a href="Python模块管理总结.html">
            
                    
                    Python 模块管理总结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="flask学习.md">
            
                <span>
            
                    
                    Flask 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="matplotlib.html">
            
                <a href="matplotlib.html">
            
                    
                    matplotlib.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="re正则表达式.html">
            
                <a href="re正则表达式.html">
            
                    
                    re正则表达式.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="图形界面学习.html">
            
                <a href="图形界面学习.html">
            
                    
                    图形界面学习.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="常用图像库学习.html">
            
                <a href="常用图像库学习.html">
            
                    
                    Python3 常用图像库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="进阶学习.html">
            
                <a href="进阶学习.html">
            
                    
                    Python3 进阶学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../Shell/">
            
                <a href="../Shell/">
            
                    
                    Shell
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../Shell/shell小知识.html">
            
                <a href="../Shell/shell小知识.html">
            
                    
                    Shell小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../Shell/Shell奇淫技巧.html">
            
                <a href="../Shell/Shell奇淫技巧.html">
            
                    
                    Shell奇淫技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../Shell/Linux文本操作三大利器-grep、sed、awk.html">
            
                <a href="../Shell/Linux文本操作三大利器-grep、sed、awk.html">
            
                    
                    grep、sed、awk 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../Shell/Shell文本处理常用工具补遗.html">
            
                <a href="../Shell/Shell文本处理常用工具补遗.html">
            
                    
                    Shell文本处理常用工具补遗
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../Shell/句子解析.html">
            
                <a href="../Shell/句子解析.html">
            
                    
                    句子解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../Shell/识别是否是root用户.html">
            
                <a href="../Shell/识别是否是root用户.html">
            
                    
                    识别是否是root用户
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../Shell/识别系统.html">
            
                <a href="../Shell/识别系统.html">
            
                    
                    识别系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../Vim/">
            
                <a href="../Vim/">
            
                    
                    Vim
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../Vim/Vim小知识.html">
            
                <a href="../Vim/Vim小知识.html">
            
                    
                    Vim小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../Vim/Vim编辑器再学习.html">
            
                <a href="../Vim/Vim编辑器再学习.html">
            
                    
                    Vim编辑器再学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../Vim/VimScript学习笔记.html">
            
                <a href="../Vim/VimScript学习笔记.html">
            
                    
                    VimScript 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../Vim/YouCompleteMe安装.html">
            
                <a href="../Vim/YouCompleteMe安装.html">
            
                    
                    YouCompleteMe安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../Vim/vimrc示例1.html">
            
                <a href="../Vim/vimrc示例1.html">
            
                    
                    vimrc示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../Vim/vimrc备份.html">
            
                <a href="../Vim/vimrc备份.html">
            
                    
                    vimrc备份
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.7" data-path="../Vim/Tmux快捷键.html">
            
                <a href="../Vim/Tmux快捷键.html">
            
                    
                    Tmux快捷键
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../Ansible/">
            
                <a href="../Ansible/">
            
                    
                    Ansible
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../Ansible/术语表.html">
            
                <a href="../Ansible/术语表.html">
            
                    
                    术语表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../Ansible/Ansible必知单词.html">
            
                <a href="../Ansible/Ansible必知单词.html">
            
                    
                    Ansible 常用单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../Ansible/Ansible学习.html">
            
                <a href="../Ansible/Ansible学习.html">
            
                    
                    Ansible 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../Ansible/Ansible常用模板.html">
            
                <a href="../Ansible/Ansible常用模板.html">
            
                    
                    Ansible常用模板.md
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../Docker/">
            
                <a href="../Docker/">
            
                    
                    Docker
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../Docker/Docker基础学习.html">
            
                <a href="../Docker/Docker基础学习.html">
            
                    
                    Docker 基础学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../Docker/Docker小知识.html">
            
                <a href="../Docker/Docker小知识.html">
            
                    
                    Docker 小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../Docker/Docker必知单词.html">
            
                <a href="../Docker/Docker必知单词.html">
            
                    
                    Docker 学习中的单词
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../Git/">
            
                <a href="../Git/">
            
                    
                    Git
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../Git/git学习.html">
            
                <a href="../Git/git学习.html">
            
                    
                    Git 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../Git/git小技巧.html">
            
                <a href="../Git/git小技巧.html">
            
                    
                    Git 小技巧
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../Zabbix/">
            
                <a href="../Zabbix/">
            
                    
                    Zabbix
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../Zabbix/Docker安装配置Zabbix.html">
            
                <a href="../Zabbix/Docker安装配置Zabbix.html">
            
                    
                    Docker 安装配置 Zabbix
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="../Zabbix/术语单词.html">
            
                <a href="../Zabbix/术语单词.html">
            
                    
                    Zabbix 中常用单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="../Zabbix/重置密码.html">
            
                <a href="../Zabbix/重置密码.html">
            
                    
                    重置 Zabbix 账户密码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../KVM/">
            
                <a href="../KVM/">
            
                    
                    KVM
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="../KVM/安装配置.html">
            
                <a href="../KVM/安装配置.html">
            
                    
                    常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="../KVM/虚拟机网络配置.html">
            
                <a href="../KVM/虚拟机网络配置.html">
            
                    
                    Bridged 桥接模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../Mysql/">
            
                <a href="../Mysql/">
            
                    
                    Mysql
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="../Mysql/Ubuntu安装Navicat.html">
            
                <a href="../Mysql/Ubuntu安装Navicat.html">
            
                    
                    Ubuntu 安装及配置 Navicat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="../Mysql/忘记root密码.html">
            
                <a href="../Mysql/忘记root密码.html">
            
                    
                    如何替换已忘记的 root 密码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../Nginx/">
            
                <a href="../Nginx/">
            
                    
                    Nginx
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="../Nginx/Nginx学习笔记.html">
            
                <a href="../Nginx/Nginx学习笔记.html">
            
                    
                    Nginx 学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../NoClass/">
            
                <a href="../NoClass/">
            
                    
                    闲知
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="../NoClass/容易读错的IT术语.html">
            
                <a href="../NoClass/容易读错的IT术语.html">
            
                    
                    容易读错的IT术语
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="../NoClass/Linux-electron-tutorial.html">
            
                <a href="../NoClass/Linux-electron-tutorial.html">
            
                    
                    Linux electron 学习记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.3" data-path="../NoClass/MarkdownSkills.html">
            
                <a href="../NoClass/MarkdownSkills.html">
            
                    
                    记录 Markdown 的各种小技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.4" data-path="../NoClass/RaspeberryPi.html">
            
                <a href="../NoClass/RaspeberryPi.html">
            
                    
                    使用树莓派 3B 遇到的问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.5" data-path="../NoClass/华为国产手机芯片SoC.html">
            
                <a href="../NoClass/华为国产手机芯片SoC.html">
            
                    
                    华为国产手机芯片SoC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.6" data-path="../NoClass/图片格式详解及其对比.html">
            
                <a href="../NoClass/图片格式详解及其对比.html">
            
                    
                    图片格式详解及其对比
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.7" data-path="../NoClass/计算机小知识.html">
            
                <a href="../NoClass/计算机小知识.html">
            
                    
                    记录一些计算机的小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.8" data-path="../NoClass/诗词.html">
            
                <a href="../NoClass/诗词.html">
            
                    
                    诗词
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="../OS/">
            
                <a href="../OS/">
            
                    
                    OS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.16.1" data-path="../OS/学习笔记.html">
            
                <a href="../OS/学习笔记.html">
            
                    
                    操作系统学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.2" data-path="../OS/术语单词.html">
            
                <a href="../OS/术语单词.html">
            
                    
                    OS 专业词语解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.3" data-path="../OS/SoCCPU.html">
            
                <a href="../OS/SoCCPU.html">
            
                    
                    SoC 与 CPU
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../Tomcat/">
            
                <a href="../Tomcat/">
            
                    
                    Tomcat
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="../Tomcat/Tomcat 学习.html">
            
                <a href="../Tomcat/Tomcat 学习.html">
            
                    
                    Tomcat 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="../Tomcat/Tomcat学习.html">
            
                <a href="../Tomcat/Tomcat学习.html">
            
                    
                    Tomcat 学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="../VPS/">
            
                <a href="../VPS/">
            
                    
                    VPS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1" data-path="../VPS/AWS_lightsail.html">
            
                <a href="../VPS/AWS_lightsail.html">
            
                    
                    AWS LightSail
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.2" data-path="../VPS/GCP_VM实例创建和基本配置.html">
            
                <a href="../VPS/GCP_VM实例创建和基本配置.html">
            
                    
                    GCP VM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.3" data-path="../VPS/ECS和VPS等等.html">
            
                <a href="../VPS/ECS和VPS等等.html">
            
                    
                    ECS和VPS
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="../ComputerComposition/">
            
                <a href="../ComputerComposition/">
            
                    
                    ComputerComposition
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.19.1" data-path="../ComputerComposition/学习笔记.html">
            
                <a href="../ComputerComposition/学习笔记.html">
            
                    
                    计算机组成原理学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="../ComputerNetwork/">
            
                <a href="../ComputerNetwork/">
            
                    
                    ComputerNetwork
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.1" data-path="../ComputerNetwork/ProWords.html">
            
                <a href="../ComputerNetwork/ProWords.html">
            
                    
                    术语单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.2" data-path="../ComputerNetwork/学习笔记.html">
            
                <a href="../ComputerNetwork/学习笔记.html">
            
                    
                    计算机网络学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.3" data-path="../ComputerNetwork/小知识.html">
            
                <a href="../ComputerNetwork/小知识.html">
            
                    
                    学习计算机网络中的小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.4" data-path="../NoClass/浏览器架构简析.md">
            
                <span>
            
                    
                    浏览器架构简析
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="../毕业论文/">
            
                <a href="../毕业论文/">
            
                    
                    毕业论文
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.21.1" data-path="../毕业论文/开题报告.html">
            
                <a href="../毕业论文/开题报告.html">
            
                    
                    开题报告
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Python</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="python-&#x5B66;&#x4E60;"><a name="python-&#x5B66;&#x4E60;" class="plugin-anchor" href="#python-&#x5B66;&#x4E60;"><i class="fa fa-link" aria-hidden="true"></i></a>Python &#x5B66;&#x4E60;</h1>
<h2 id="&#x57FA;&#x7840;&#x5E93;"><a name="&#x57FA;&#x7840;&#x5E93;" class="plugin-anchor" href="#&#x57FA;&#x7840;&#x5E93;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x57FA;&#x7840;&#x5E93;</h2>
<p>sys&#x3001;os&#xFF08;os.path&#x3001;os.stat&#xFF09;&#x3001;time&#x3001;logging&#x3001;prarmiko&#x3001;re&#x3001;random</p>
<h2 id="&#x8FD0;&#x7EF4;&#x5E38;&#x7528;-python-&#x5E93;"><a name="&#x8FD0;&#x7EF4;&#x5E38;&#x7528;-python-&#x5E93;" class="plugin-anchor" href="#&#x8FD0;&#x7EF4;&#x5E38;&#x7528;-python-&#x5E93;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8FD0;&#x7EF4;&#x5E38;&#x7528; Python &#x5E93;</h2>
<p>1&#x3001;<a href="https://github.com/giampaolo/psutil" target="_blank">psutil</a></p>
<p>&#x662F;&#x4E00;&#x4E2A;&#x8DE8;&#x5E73;&#x53F0;&#x5E93;&#xFF0C;&#x80FD;&#x591F;&#x5B9E;&#x73B0;&#x83B7;&#x53D6;&#x7CFB;&#x7EDF;&#x8FD0;&#x884C;&#x7684;&#x8FDB;&#x7A0B;&#x548C;&#x7CFB;&#x7EDF;&#x5229;&#x7528;&#x7387;&#xFF08;&#x5185;&#x5B58;&#x3001;CPU&#x3001;&#x78C1;&#x76D8;&#x3001;&#x7F51;&#x7EDC;&#x7B49;&#xFF09;&#xFF0C;&#x4E3B;&#x8981;&#x7528;&#x4E8E;&#x7CFB;&#x7EDF;&#x76D1;&#x63A7;&#xFF0C;&#x5206;&#x6790;&#x548C;&#x7CFB;&#x7EDF;&#x8D44;&#x6E90;&#x53CA;&#x8FDB;&#x7A0B;&#x7684;&#x7BA1;&#x7406;</p>
<p>2&#x3001;<a href="http://github.com/haypo/python-ipy" target="_blank">IPy</a></p>
<p>&#x8F85;&#x52A9;IP&#x89C4;&#x5212;</p>
<p>3&#x3001;<a href="http://dnspython.org" target="_blank">dnspython</a></p>
<p>Python&#x5B9E;&#x73B0;&#x7684;&#x4E00;&#x4E2A; DNS &#x5DE5;&#x5177;&#x5305;</p>
<p>4&#x3001;difflib</p>
<p>difflib &#x4F5C;&#x4E3A; Python &#x7684;&#x6807;&#x51C6;&#x6A21;&#x5757;&#xFF0C;&#x65E0;&#x9700;&#x5B89;&#x88C5;&#xFF0C;&#x4F5C;&#x7528;&#x662F;&#x5BF9;&#x6BD4;&#x6587;&#x672C;&#x4E4B;&#x95F4;&#x7684;&#x5DEE;&#x5F02;</p>
<p>5&#x3001;filecmp</p>
<p>&#x7CFB;&#x7EDF;&#x81EA;&#x5E26;&#xFF0C;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x6587;&#x4EF6;&#xFF0C;&#x76EE;&#x5F55;&#xFF0C;&#x904D;&#x5386;&#x5B50;&#x76EE;&#x5F55;&#x7684;&#x5DEE;&#x5F02;&#xFF0C;&#x5BF9;&#x6BD4;&#x529F;&#x80FD;</p>
<p>6&#x3001;smtplib</p>
<p>&#x53D1;&#x9001;&#x7535;&#x5B50;&#x90AE;&#x4EF6;&#x6A21;&#x5757;</p>
<p>7&#x3001;<a href="http://pycurl.sourceforge.net" target="_blank">pycurl</a></p>
<p>&#x662F;&#x4E00;&#x4E2A;&#x7528; C &#x8BED;&#x8A00;&#x5199;&#x7684; libcurl Python &#x5B9E;&#x73B0;&#xFF0C;&#x529F;&#x80FD;&#x5F3A;&#x5927;&#xFF0C;&#x652F;&#x6301;&#x7684;&#x534F;&#x8BAE;&#x6709;&#xFF1A;FTP&#x3001;HTTP&#x3001;HTTPS&#x3001;TELNET&#x7B49;&#xFF0C;&#x53EF;&#x4EE5;&#x7406;&#x89E3;&#x4E3A; Linux &#x4E0B; curl &#x547D;&#x4EE4;&#x529F;&#x80FD;&#x7684;Python &#x5C01;&#x88C5;</p>
<p>8&#x3001;XlsxWriter</p>
<p>&#x64CD;&#x4F5C; Excel &#x5DE5;&#x4F5C;&#x8868;&#x7684;&#x6587;&#x5B57;&#x3001;&#x6570;&#x5B57;&#x3001;&#x516C;&#x5F0F;&#x3001;&#x56FE;&#x8868;&#x7B49;</p>
<p>9&#x3001;rrdtool</p>
<p>&#x7528;&#x4E8E;&#x8DDF;&#x8E2A;&#x5BF9;&#x8C61;&#x7684;&#x53D8;&#x5316;&#xFF0C;&#x751F;&#x6210;&#x8FD9;&#x4E9B;&#x53D8;&#x5316;&#x7684;&#x8D70;&#x52BF;&#x56FE;</p>
<p>10&#x3001;<a href="http://www.wecdev.org/projects/scapy/" target="_blank">scapy</a></p>
<p>&#x662F;&#x4E00;&#x4E2A;&#x5F3A;&#x5927;&#x7684;&#x4EA4;&#x4E92;&#x5F0F;&#x6570;&#x636E;&#x5305;&#x5904;&#x7406;&#x7A0B;&#x5E8F;&#xFF0C;&#x5B83;&#x80FD;&#x591F;&#x5BF9;&#x6570;&#x636E;&#x5305;&#x8FDB;&#x884C;&#x4F2A;&#x9020;&#x6216;&#x89E3;&#x5305;&#xFF0C;&#x5305;&#x62EC;&#x53D1;&#x9001;&#x6570;&#x636E;&#x5305;&#x3001;&#x5305;&#x55C5;&#x63A2;&#x3001;&#x5E94;&#x7B54;&#x548C;&#x53CD;&#x9988;&#x7B49;&#x529F;&#x80FD;</p>
<p>11&#x3001;pyClamad</p>
<p>&#x7531; Clam Antivirus &#x5F00;&#x6E90;&#x7684;&#x9632;&#x6BD2;&#x8F6F;&#x4EF6;&#xFF0C;&#x53EF;&#x4EE5;&#x8BA9; Python &#x6A21;&#x5757;&#x76F4;&#x63A5;&#x4F7F;&#x7528; ClamAV &#x75C5;&#x6BD2;&#x626B;&#x63CF;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B; calmd</p>
<p>12&#x3001;pexpect</p>
<p>&#x53EF;&#x4EE5;&#x7406;&#x89E3;&#x6210; Linux &#x4E0B; expect &#x7684; Python &#x5C01;&#x88C5;&#xFF0C;&#x901A;&#x8FC7; pexpect &#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x5BF9; ssh&#x3001;ftp&#x3001;passwd&#x3001;telnet &#x7B49;&#x547D;&#x4EE4;&#x884C;&#x8FDB;&#x884C;&#x81EA;&#x52A8;&#x4EA4;&#x4E92;&#xFF0C;&#x800C;&#x65E0;&#x9700;&#x4EBA;&#x5DE5;&#x5E72;&#x6D89;&#x6765;&#x8FBE;&#x5230;&#x81EA;&#x52A8;&#x5316;&#x7684;&#x76EE;&#x7684;</p>
<p>13&#x3001;<a href="http://paramiko.org" target="_blank">paramiko</a></p>
<p>&#x662F;&#x57FA;&#x4E8E; Python &#x5B9E;&#x73B0;&#x7684; SSH2 &#x8FDC;&#x7A0B;&#x5B89;&#x88C5;&#x8FDE;&#x63A5;&#xFF0C;&#x652F;&#x6301;&#x8BA4;&#x8BC1;&#x53CA;&#x5BC6;&#x94A5;&#x65B9;&#x5F0F;&#x3002;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x8FDC;&#x7A0B;&#x547D;&#x4EE4;&#x6267;&#x884C;&#x3001;&#x6587;&#x4EF6;&#x4F20;&#x8F93;&#x3001;&#x4E2D;&#x95F4; SSH &#x4EE3;&#x7406;&#x7B49;&#x529F;&#x80FD;&#x3002;&#x76F8;&#x5BF9;&#x4E8E;pexpect&#xFF0C;&#x5C01;&#x88C5;&#x7684;&#x5C42;&#x6B21;&#x66F4;&#x9AD8;&#xFF0C;&#x66F4;&#x8D34;&#x8FD1; SSH &#x534F;&#x8BAE;&#x7684;&#x529F;&#x80FD;</p>
<p>14&#x3001;<a href="http://www.fabfile.org" target="_blank">fabric</a></p>
<p>&#x662F;&#x57FA;&#x4E8E; Python &#x5B9E;&#x73B0;&#x7684; SSH &#x547D;&#x4EE4;&#x884C;&#x5DE5;&#x5177;&#xFF0C;&#x7B80;&#x5316;&#x4E86; SSH &#x7684;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x90E8;&#x7F72;&#x53CA;&#x7CFB;&#x7EDF;&#x7BA1;&#x7406;&#x4EFB;&#x52A1;&#xFF0C;&#x5B83;&#x63D0;&#x4F9B;&#x4E86;&#x7CFB;&#x7EDF;&#x57FA;&#x7840;&#x7684;&#x64CD;&#x4F5C;&#x7EC4;&#x4EF6;&#xFF0C;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x672C;&#x5730;&#x6216;&#x8FDC;&#x7A0B; shell &#x547D;&#x4EE4;&#xFF0C;&#x5305;&#x62EC;&#x547D;&#x4EE4;&#x6267;&#x884C;&#x3001;&#x6587;&#x4EF6;&#x4E0A;&#x4F20;&#x3001;&#x4E0B;&#x8F7D;&#x53CA;&#x5B8C;&#x6574;&#x6267;&#x884C;&#x65E5;&#x5FD7;&#x8F93;&#x51FA;&#x7B49;&#x529F;&#x80FD;&#x3002;Fabric &#x5728;paramiko &#x7684;&#x57FA;&#x7840;&#x4E0A;&#x505A;&#x4E86;&#x66F4;&#x9AD8;&#x4E00;&#x5C42;&#x7684;&#x5C01;&#x88C5;&#xFF0C;&#x64CD;&#x4F5C;&#x8D77;&#x6765;&#x66F4;&#x52A0;&#x7B80;&#x5355;</p>
<p>15&#x3001;CGIHTTPRequestHandler</p>
<p>&#x5B9E;&#x73B0;&#x5BF9; CGI &#x7684;&#x652F;&#x6301;</p>
<p>16&#x3001;<a href="http://www.ansibleworks.com/" target="_blank">ansible</a></p>
<p>&#x4E00;&#x79CD;&#x96C6;&#x6210; IT &#x7CFB;&#x7EDF;&#x7684;&#x914D;&#x7F6E;&#x7BA1;&#x7406;&#xFF0C;&#x5E94;&#x7528;&#x90E8;&#x7F72;&#xFF0C;&#x6267;&#x884C;&#x7279;&#x5B9A;&#x4EFB;&#x52A1;&#x7684;&#x5F00;&#x6E90;&#x5E73;&#x53F0;&#x3002;&#x57FA;&#x4E8E; Python &#x5B9E;&#x73B0;&#xFF0C;&#x7531; Paramiko &#x548C; PyYAML &#x4E24;&#x4E2A;&#x5173;&#x952E;&#x6A21;&#x5757;&#x6784;&#x5EFA;&#x3002;Ansible &#x4E0E; Saltstack &#x6700;&#x5927;&#x7684;&#x533A;&#x522B;&#x662F; Ansible &#x65E0;&#x9700;&#x5728;&#x88AB;&#x63A7;&#x4E3B;&#x673A;&#x4E0A;&#x90E8;&#x7F72;&#x4EFB;&#x4F55;&#x5BA2;&#x6237;&#x7AEF;&#xFF0C;&#x9ED8;&#x8BA4;&#x76F4;&#x63A5;&#x901A;&#x8FC7; SSH &#x901A;&#x9053;&#x8FDB;&#x884C;&#x8FDC;&#x7A0B;&#x547D;&#x4EE4;&#x6267;&#x884C;&#x6216;&#x4E0B;&#x53D1;&#x529F;&#x80FD;</p>
<p>17&#x3001;YAML</p>
<p>&#x662F;&#x4E00;&#x79CD;&#x7528;&#x6765;&#x8868;&#x8FBE;&#x6570;&#x636E;&#x5E8F;&#x5217;&#x7684;&#x7F16;&#x7A0B;&#x8BED;&#x8A00;</p>
<p>18&#x3001;playbook</p>
<p>&#x4E00;&#x4E2A;&#x975E;&#x5E38;&#x7B80;&#x5355;&#x7684;&#x914D;&#x7F6E;&#x7BA1;&#x7406;&#x548C;&#x591A;&#x4E3B;&#x673A;&#x90E8;&#x7F72;&#x7CFB;&#x7EDF;</p>
<p>19&#x3001;<a href="http://saltstack.com" target="_blank">saltstack</a></p>
<p>&#x662F;&#x4E00;&#x4E2A;&#x670D;&#x52A1;&#x5668;&#x57FA;&#x7840;&#x67B6;&#x6784;&#x96C6;&#x4E2D;&#x5316;&#x7BA1;&#x7406;&#x5E73;&#x53F0;&#xFF0C;&#x4E00;&#x822C;&#x53EF;&#x4EE5;&#x7406;&#x89E3;&#x4E3A;&#x7B80;&#x5316;&#x7248;&#x7684; puppet&#x548C;&#x52A0;&#x5F3A;&#x7248;&#x7684; func&#x3002;Saltstack &#x57FA;&#x4E8E; Python &#x8BED;&#x8A00;&#x5B9E;&#x73B0;&#xFF0C;&#x7ED3;&#x5408;&#x8F7B;&#x91CF;&#x7EA7;&#x6D88;&#x606F;&#x961F;&#x5217; ZeroMQ&#xFF0C;&#x7531; Python &#x7B2C;&#x4E09;&#x65B9;&#x6A21;&#x5757;&#xFF08;Pyzmq&#x3001;PyCrypto&#x3001;Pyjinja2&#x3001;python-msgpack &#x548C; PyYAML &#x7B49;&#xFF09;&#x6784;&#x5EFA;</p>
<p>20&#x3001;func</p>
<p>&#x4E3A;&#x89E3;&#x51B3;&#x96C6;&#x7FA4;&#x7BA1;&#x7406;&#xFF0C;&#x76D1;&#x63A7;&#x95EE;&#x9898;&#x9700;&#x8BBE;&#x8BA1;&#x5F00;&#x53D1;&#x7684;&#x7CFB;&#x7EDF;&#x7BA1;&#x7406;&#x57FA;&#x7840;&#x6846;&#x67B6;</p>
<h2 id="python&#x8FD0;&#x7EF4;&#x5E38;&#x7528;&#x6A21;&#x5757;"><a name="python&#x8FD0;&#x7EF4;&#x5E38;&#x7528;&#x6A21;&#x5757;" class="plugin-anchor" href="#python&#x8FD0;&#x7EF4;&#x5E38;&#x7528;&#x6A21;&#x5757;"><i class="fa fa-link" aria-hidden="true"></i></a>Python&#x8FD0;&#x7EF4;&#x5E38;&#x7528;&#x6A21;&#x5757;</h2>
<ul>
<li><a href="https://docs.python.org/3/library/csv.html" target="_blank"><code>csv</code></a>&#xFF1A;&#x5BF9;&#x4E8E;&#x8BFB;&#x53D6; csv &#x6587;&#x4EF6;&#x6765;&#x8BF4;&#x975E;&#x5E38;&#x4FBF;&#x5229;</li>
<li><a href="https://docs.python.org/3/library/collections.html" target="_blank"><code>collections</code></a>&#xFF1A;&#x5E38;&#x89C1;&#x6570;&#x636E;&#x7C7B;&#x578B;&#x7684;&#x5B9E;&#x7528;&#x6269;&#x5C55;&#xFF0C;&#x5305;&#x62EC; <code>OrderedDict</code>&#x3001;<code>defaultdict</code> &#x548C; <code>namedtuple</code></li>
<li><a href="https://docs.python.org/3/library/random.html" target="_blank"><code>random</code></a>&#xFF1A;&#x751F;&#x6210;&#x5047;&#x968F;&#x673A;&#x6570;&#x5B57;&#xFF0C;&#x968F;&#x673A;&#x6253;&#x4E71;&#x5E8F;&#x5217;&#x5E76;&#x9009;&#x62E9;&#x968F;&#x673A;&#x9879;</li>
<li><a href="https://docs.python.org/3/library/string.html" target="_blank"><code>string</code></a>&#xFF1A;&#x5173;&#x4E8E;&#x5B57;&#x7B26;&#x4E32;&#x7684;&#x66F4;&#x591A;&#x51FD;&#x6570;&#x3002;&#x6B64;&#x6A21;&#x5757;&#x8FD8;&#x5305;&#x62EC;&#x5B9E;&#x7528;&#x7684;&#x5B57;&#x6BCD;&#x96C6;&#x5408;&#xFF0C;&#x4F8B;&#x5982; <code>string.digits</code>&#xFF08;&#x5305;&#x542B;&#x6240;&#x6709;&#x5B57;&#x7B26;&#x90FD;&#x662F;&#x6709;&#x6548;&#x6570;&#x5B57;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#xFF09;</li>
<li><a href="https://docs.python.org/3/library/re.html" target="_blank"><code>re</code></a>&#xFF1A;&#x901A;&#x8FC7;&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x5728;&#x5B57;&#x7B26;&#x4E32;&#x4E2D;&#x8FDB;&#x884C;&#x6A21;&#x5F0F;&#x5339;&#x914D;</li>
<li><a href="https://docs.python.org/3/library/math.html" target="_blank"><code>math</code></a>&#xFF1A;&#x4E00;&#x4E9B;&#x6807;&#x51C6;&#x6570;&#x5B66;&#x51FD;&#x6570;</li>
<li><a href="https://docs.python.org/3/library/os.html" target="_blank"><code>os</code></a>&#xFF1A;&#x4E0E;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4EA4;&#x4E92;</li>
<li><a href="https://docs.python.org/3/library/os.path.html" target="_blank"><code>os.path</code></a>&#xFF1A;<code>os</code> &#x7684;&#x5B50;&#x6A21;&#x5757;&#xFF0C;&#x7528;&#x4E8E;&#x64CD;&#x7EB5;&#x8DEF;&#x5F84;&#x540D;&#x79F0;</li>
<li><a href="https://docs.python.org/3/library/sys.html" target="_blank"><code>sys</code></a>&#xFF1A;&#x76F4;&#x63A5;&#x4F7F;&#x7528; Python &#x89E3;&#x91CA;&#x5668;</li>
<li><a href="https://docs.python.org/3/library/json.html" target="_blank"><code>json</code></a>&#xFF1A;&#x9002;&#x7528;&#x4E8E;&#x8BFB;&#x5199; json &#x6587;&#x4EF6;&#xFF08;&#x9762;&#x5411;&#x7F51;&#x7EDC;&#x5F00;&#x53D1;&#xFF09;</li>
</ul>
<h2 id="&#x5B9E;&#x7528;&#x7684;&#x7B2C;&#x4E09;&#x65B9;&#x8F6F;&#x4EF6;&#x5305;"><a name="&#x5B9E;&#x7528;&#x7684;&#x7B2C;&#x4E09;&#x65B9;&#x8F6F;&#x4EF6;&#x5305;" class="plugin-anchor" href="#&#x5B9E;&#x7528;&#x7684;&#x7B2C;&#x4E09;&#x65B9;&#x8F6F;&#x4EF6;&#x5305;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5B9E;&#x7528;&#x7684;&#x7B2C;&#x4E09;&#x65B9;&#x8F6F;&#x4EF6;&#x5305;</h2>
<ul>
<li><a href="https://ipython.org/" target="_blank"><code>IPython</code></a> - &#x66F4;&#x597D;&#x7684;&#x4EA4;&#x4E92;&#x5F0F; Python &#x89E3;&#x91CA;&#x5668;&#x3002;</li>
<li><a href="http://docs.python-requests.org/" target="_blank"><code>requests</code></a> - &#x63D0;&#x4F9B;&#x6613;&#x4E8E;&#x4F7F;&#x7528;&#x7684;&#x65B9;&#x6CD5;&#x6765;&#x53D1;&#x51FA;&#x7F51;&#x7EDC;&#x8BF7;&#x6C42;&#x3002;&#x9002;&#x7528;&#x4E8E;&#x8BBF;&#x95EE;&#x7F51;&#x7EDC; API&#x3002;</li>
<li><a href="http://flask.pocoo.org/" target="_blank"><code>Flask</code></a> - &#x4E00;&#x4E2A;&#x5C0F;&#x578B;&#x6846;&#x67B6;&#xFF0C;&#x7528;&#x4E8E;&#x6784;&#x5EFA;&#x7F51;&#x7EDC;&#x5E94;&#x7528;&#x548C; API&#x3002;</li>
<li><a href="https://www.djangoproject.com/" target="_blank"><code>Django</code></a> - &#x4E00;&#x4E2A;&#x529F;&#x80FD;&#x66F4;&#x4E30;&#x5BCC;&#x7684;&#x7F51;&#x7EDC;&#x5E94;&#x7528;&#x6784;&#x5EFA;&#x6846;&#x67B6;&#x3002;Django &#x5C24;&#x5176;&#x9002;&#x5408;&#x8BBE;&#x8BA1;&#x590D;&#x6742;&#x3001;&#x5185;&#x5BB9;&#x4E30;&#x5BCC;&#x7684;&#x7F51;&#x7EDC;&#x5E94;&#x7528;&#x3002;</li>
<li><a href="https://www.crummy.com/software/BeautifulSoup/" target="_blank"><code>Beautiful Soup</code></a> - &#x7528;&#x4E8E;&#x89E3;&#x6790; HTML &#x5E76;&#x4ECE;&#x4E2D;&#x63D0;&#x53D6;&#x4FE1;&#x606F;&#x3002;&#x9002;&#x5408;&#x7F51;&#x9875;&#x6570;&#x636E;&#x62BD;&#x53D6;&#x3002;</li>
<li><a href="http://doc.pytest.org/" target="_blank"><code>pytest</code></a> - &#x6269;&#x5C55;&#x4E86; Python &#x7684;&#x5185;&#x7F6E;&#x65AD;&#x8A00;&#xFF0C;&#x5E76;&#x4E14;&#x662F;&#x6700;&#x5177;&#x5355;&#x5143;&#x6027;&#x7684;&#x6A21;&#x5757;&#x3002;</li>
<li><a href="http://pyyaml.org/wiki/PyYAML" target="_blank"><code>PyYAML</code></a> - &#x7528;&#x4E8E;&#x8BFB;&#x5199; <a href="https://en.wikipedia.org/wiki/YAML" target="_blank">YAML</a> &#x6587;&#x4EF6;&#x3002;</li>
<li><a href="http://www.numpy.org/" target="_blank"><code>NumPy</code></a> - &#x7528;&#x4E8E;&#x4F7F;&#x7528; Python &#x8FDB;&#x884C;&#x79D1;&#x5B66;&#x8BA1;&#x7B97;&#x7684;&#x6700;&#x57FA;&#x672C;&#x8F6F;&#x4EF6;&#x5305;&#x3002;&#x5B83;&#x5305;&#x542B;&#x4E00;&#x4E2A;&#x5F3A;&#x5927;&#x7684; N &#x7EF4;&#x6570;&#x7EC4;&#x5BF9;&#x8C61;&#x548C;&#x5B9E;&#x7528;&#x7684;&#x7EBF;&#x6027;&#x4EE3;&#x6570;&#x529F;&#x80FD;&#x7B49;&#x3002;</li>
<li><a href="http://pandas.pydata.org/" target="_blank"><code>pandas</code></a> - &#x5305;&#x542B;&#x9AD8;&#x6027;&#x80FD;&#x3001;&#x6570;&#x636E;&#x7ED3;&#x6784;&#x548C;&#x6570;&#x636E;&#x5206;&#x6790;&#x5DE5;&#x5177;&#x7684;&#x5E93;&#x3002;&#x5C24;&#x5176;&#x662F;&#xFF0C;pandas &#x63D0;&#x4F9B; dataframe&#xFF01;</li>
<li><a href="http://matplotlib.org/" target="_blank"><code>matplotlib</code></a> - &#x4E8C;&#x7EF4;&#x7ED8;&#x5236;&#x5E93;&#xFF0C;&#x4F1A;&#x751F;&#x6210;&#x8FBE;&#x5230;&#x53D1;&#x5E03;&#x6807;&#x51C6;&#x7684;&#x9AD8;&#x54C1;&#x8D28;&#x56FE;&#x7247;&#xFF0C;&#x5E76;&#x4E14;&#x91C7;&#x7528;&#x5404;&#x79CD;&#x786C;&#x62F7;&#x8D1D;&#x683C;&#x5F0F;&#x548C;&#x4EA4;&#x4E92;&#x5F0F;&#x73AF;&#x5883;&#x3002;</li>
<li><a href="http://ggplot.yhathq.com/" target="_blank"><code>ggplot</code></a> - &#x53E6;&#x4E00;&#x79CD;&#x4E8C;&#x7EF4;&#x7ED8;&#x5236;&#x5E93;&#xFF0C;&#x57FA;&#x4E8E; R&#x2019;s ggplot2 &#x5E93;&#x3002;</li>
<li><a href="https://python-pillow.org/" target="_blank"><code>Pillow</code></a> - Python &#x56FE;&#x7247;&#x5E93;&#x53EF;&#x4EE5;&#x5411;&#x4F60;&#x7684; Python &#x89E3;&#x91CA;&#x5668;&#x6DFB;&#x52A0;&#x56FE;&#x7247;&#x5904;&#x7406;&#x529F;&#x80FD;&#x3002;</li>
<li><a href="http://www.pyglet.org/" target="_blank"><code>pyglet</code></a> - &#x4E13;&#x95E8;&#x9762;&#x5411;&#x6E38;&#x620F;&#x5F00;&#x53D1;&#x7684;&#x8DE8;&#x5E73;&#x53F0;&#x5E94;&#x7528;&#x6846;&#x67B6;&#x3002;</li>
<li><a href="http://www.pygame.org/" target="_blank"><code>Pygame</code></a> - &#x7528;&#x4E8E;&#x7F16;&#x5199;&#x6E38;&#x620F;&#x7684;&#x4E00;&#x7CFB;&#x5217; Python &#x6A21;&#x5757;&#x3002;</li>
<li><a href="http://pytz.sourceforge.net/" target="_blank"><code>pytz</code></a> - Python &#x7684;&#x4E16;&#x754C;&#x65F6;&#x533A;&#x5B9A;&#x4E49;&#x3002;</li>
</ul>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> <a href="https://github.com/Xiechengqi" target="_blank">Xiechengqi</a> </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> <strong>&#x6700;&#x65B0;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;</strong> 2020-01-04 15:54:38 </span> </footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../Linux/防火墙学习.html" class="navigation navigation-prev " aria-label="Previous page: 防火墙学习笔记">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="BeautifulSoup.md" class="navigation navigation-next " aria-label="Next page: Python3 BeautifulSoup 学习记录">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Python","level":"1.5","depth":1,"next":{"title":"Python3 BeautifulSoup 学习记录","level":"1.5.1","depth":2,"path":"Python/BeautifulSoup.md","ref":"Python/BeautifulSoup.md","articles":[]},"previous":{"title":"防火墙学习笔记","level":"1.4.24","depth":2,"path":"Linux/防火墙学习.md","ref":"Linux/防火墙学习.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","-livereload","-sharing","expandable-chapters","popup","pageview-count","code","back-to-top-button","hide-element","github-buttons","github","splitter","search-pro","anchors","page-footer-ex","advanced-emoji","sharing-plus"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"github":{"url":"https://github.com/Xiechengqi/LearningNotes"},"page-footer-ex":{"copyright":"[Xiechengqi](https://github.com/Xiechengqi)","markdown":true,"update_format":"YYYY-MM-DD HH:mm:ss","update_label":"<strong>最新修订时间：</strong>"},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"code":{"copyButtons":true},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"pageview-count":{},"github-buttons":{"buttons":[{"user":"Xiechengqi","repo":"LearningNotes","type":"star","size":"small","count":true}]},"advanced-emoji":{"embedEmojis":false},"sharing":{"qq":false,"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"日常学习笔记","language":"zh-hans","gitbook":"*","description":"日常学习笔记"},"file":{"path":"Python/README.md","mtime":"2020-01-04T07:54:38.988Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-28T02:57:41.582Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

